package com.gjs.freechat.server.business;

import java.util.Map;

import com.gjs.freechat.server.component.bean.UserInfo;

public interface UserManageBusiness {
	public Map<String, Object> login(String email, String password);
	public void logout(UserInfo userInfo);
	public void loginRegister(UserInfo userInfo);
	public void logoutRegister(UserInfo userInfo);
	public UserInfo createNewUser();
	public void updateUserInfo(UserInfo userInfo);
	public boolean userRegister(String userId, String email, String password);
	public boolean editUsername(String userId, String username);
	public void editPassword(String userId, String newPass);
}
